fix(web): show provider icons for active and completed sidebar statuses#1888
fix(web): show provider icons for active and completed sidebar statuses#1888Marve10s wants to merge 4 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Approved Simple UI enhancement that shows provider-specific icons (Claude, OpenAI) in the sidebar instead of generic colored dots. The change is purely visual, passes through existing provider data, and includes appropriate unit tests. You can customize Macroscope's approvability policy. Learn more. |
…atus-icons # Conflicts: # apps/web/src/components/Sidebar.logic.ts

Summary
Why
The sidebar already knows which provider is attached to a running thread, but it still renders the same generic pulse for every active session. Showing the active provider directly makes it easier to scan mixed-provider thread lists.
Validation
bun fmtbun lintbun typecheckNote
Low Risk
Low risk UI/UX change limited to sidebar status rendering plus small status-shaping logic updates and tests; no auth, persistence, or backend behavior changes.
Overview
Sidebar thread status pills now surface the active provider.
ThreadStatusPillgains an optionalworkingProvider, populated forrunning/connectingsessions and forCompletedthreads with an unseen completion.The sidebar label renderer swaps the generic colored dot for provider-specific icons (Claude/OpenAI) with optional pulsing, while keeping the existing dot as a fallback. Tests are extended to assert provider exposure for running and completed statuses.
Reviewed by Cursor Bugbot for commit 4b95318. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Show provider-specific icons for active and completed thread statuses in the sidebar
ThreadStatusPillin Sidebar.logic.ts with an optionalworkingProviderfield, populated forrunning/connectingsessions and completed threads with unseen completions.providerStatusIconClassNamehelper in Sidebar.tsx that mapsclaudeAgentto an orange tint andcodexto the foreground color.ThreadStatusLabelwith ClaudeAI or OpenAI icons (with pulse animation when active) when aworkingProvideris present; falls back to the dot otherwise.Macroscope summarized 4b95318.